Auto merge of #1961 - alexcrichton:fix-doc-target-specific, r=huonw
authorbors <bors@rust-lang.org>
Thu, 3 Sep 2015 17:06:43 +0000 (17:06 +0000)
committerbors <bors@rust-lang.org>
Thu, 3 Sep 2015 17:06:43 +0000 (17:06 +0000)
The recent change in #1939 ended up accidentally pulling in irrelevant
platform-specific dependencies into a normal `cargo doc`, causing those builds
to fail. This change tweaks the logic for calculating documentation dependencies
to account for filtering based on the relevant platform.


Trivial merge